home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue29 / advpanel / ADVPANEL.ZIP / advpanel.txt < prev    next >
Encoding:
Text File  |  1997-11-14  |  2.1 KB  |  63 lines

  1. TAdvSplitter component 1.1 - 97/11/14
  2.  
  3. by Charles Bedard (bedardc@mlink.net)
  4.  
  5. NOTE:
  6.       I have developped this component with Delphi 3.0,
  7.       but it should work under Delphi 2.0, after modifying
  8.       TAdvSplitter.GetChildren, which is different in both 
  9.       versions.
  10.  
  11.       You can distribute or modify this code at will, but
  12.       please notify me about any change you make. The idea here
  13.       is to see if i triggered thoughts and ideas on improving
  14.       this kind of component.
  15.  
  16.       Comments and suggestions are also welcomed.
  17.  
  18.  
  19. ------ Installation ------------------------------------------
  20.  
  21. Simply add the source file to a package (for Delphi 3.0),
  22. or add to Component Library (Delphi 2.0)
  23.  
  24.  
  25. ------ Using TAdvPanel ------------------------------------
  26.  
  27.  
  28. Key properties
  29.  
  30.     Align      : (alLeft, alTop, alRight, alBottom, alNone)
  31.     
  32.          This sets the appearance and behaviour of the
  33.                  AdvPanel. The handle (resize bar) is always
  34.                  drawn on the side facing the center of the parent.
  35.                  Setting Align to alNone is of no use for TAdvPanel.
  36.                   
  37.     FrameStyle : (fsNone, fsBump, fsCarved, fsLowered, fsRaised)
  38.  
  39.                  Different Frames available to draw the border of
  40.                  the clientarea. Experiment to see how they look.
  41.                  If you wish to define new ones, modify 
  42.                  TAdvPanel.SetFrameStyle
  43.  
  44.     FrameWidth : (fwSingle, fwThick) 
  45.          
  46.     HandleSize : Size of the resize bar which can be dragged.
  47.  
  48.     HandleStyle: (hsNone, hsNormal, hs3D)
  49.  
  50.          How the resize bar will look. Experimentation is
  51.                  the best explanation :)
  52.  
  53.     MinSize    : This is also the maximum space that AdvPanel can 
  54.                  leave to its parent. For example, if set to 20, then
  55.                  you can resize it smaller than 20, and you can't 
  56.                  resize it larger than Parent.ClientWidth - MinSize
  57.           or Parent.ClientHeight - MinSize, depending on the
  58.                  alignment.
  59.  
  60.  
  61. -----------------------------------------------------------------------
  62.  
  63.